#include "ayoo/base.h"

namespace AYOO{

MySQLWrap* BaseDBI::GetMySQL()
{
	static uint32_t tid = 23;
	if(this->m_conn_map.find(tid) == this->m_conn_map.end())
	{
		MySQLWrap* _new_mys = new MySQLWrap();
		this->m_conn_map[tid] = _new_mys;
	}
	MySQLWrap *_mys = this->m_conn_map[tid];
	return _mys;
}

}; /*namespace:AYOO*/

